package com.maxima.maximaAttendance.actions;

import javax.servlet.RequestDispatcher;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class Reports extends ActionSupport {

	private static final long serialVersionUID = 1L;
	@Override
	public String execute() throws Exception {
		RequestDispatcher rd =ServletActionContext.getRequest().getRequestDispatcher("/ServletExportReports");
		rd.forward(ServletActionContext.getRequest(), ServletActionContext.getResponse());
		System.out.println("Returned to reports");
		return SUCCESS;
	}

}
